You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Classes > VectorInt Structure > VectorInt Methods > FindIndexes Method > VectorInt.FindIndexes Method ([In] TMtxVec, [In] string, [In] TCplx)
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
VectorInt.FindIndexes Method ([In] TMtxVec, [In] string, [In] TCplx)

Fills the calling vector with indexes, where the logical expression is true.

Syntax
C#
Visual Basic
public TMtxVecInt FindIndexes([In] TMtxVec a, [In] string op, [In] TCplx b);

Fills the calling vector with indexes, where the Op comparison between a and b is True. Op string parameter can be '<', '>', '>=','<=','=' or '<>'.

Ensure that the power function will return 0, if the exponent is 0.

CreateIt(a,b); With TVec(Self) do try Ln(Base); //First do it the normal way then fix the anomalies Mul(Exponent); Exp; a.FindIndexes(Exponent,'=',0); b.Size(a.Length,Complex); b.Setval(1); Scatter(b,a); finally FreeIt(a,b); end;
Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!